package com.coco.common.constant;

/**
 * @author minicoco
 * @version 1.0
 * @date 2021/7/23 10:58
 * 用户登录枚举类
 */
public enum LiveEnum {


    /**
     * 创建成功
     */
    CREATE_SUCCESS(204,"创建成功!"),
    /**
     * 登录失败信息
     */
    CREATE_FAIL(205,"创建失败!");

    /**
     * 状态码
     */
    private final Integer code;
    /**
     * 错误信息
     */
    private final String message;

    LiveEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
